package com.xlobo.api.bill.service;

import com.ymttest.business.YmatouAutoTestCall;
import com.ymttest.utils.EnvSetup;

public class warmup extends YmatouAutoTestCall{

	//点火接口，做单接口有时会假死
	private static String opurl ="/warmup";
	
	public warmup() {
		super(EnvSetup.getSystemUrl("bill_api"),opurl,"GET","JSON");
	}
	@Override
	public void addDefHeader() {
		client.addHeader("Accept","text/xml,text/javascript,text/html,application/json");
		client.addHeader("Content-Type", "application/json; charset=UTF-8");
	}

	
	
	
	/**
	 * 测试接口是否正常
	 * @param args
	 * @throws Exception 
	 */
	public static void main(String[] args) throws Exception {
		
		try{
			
			new warmup().callService();
		
				
		}catch (Exception e) {
			e.printStackTrace();
		}
	}
	
	
	
	
	

	
	
	
	
	
	
	
	
	
	
}
